// Created by zyq on 2025/2/28.
#include "iostream"

using namespace std;

int main() {

    int money;
    money = 7000;

    if (money > 10000) {
        cout << "买电脑" << endl;
        cout << "剩余：" << money - 10000 << endl;
    } else {
        cout << "不买电脑" << endl;
        cout << "差钱：" << 10000 - money << endl;
    }

    return 0;
}